{template 'header', $TP}
<div class="head_bar">
<table>
<tr>
<td class="head_bar_td_w5">&nbsp;</td>
<td class="head_bar_td_w50"><div class="head_back"><a href="{$back_link}"><span>返回</span></a></div></td>
<td><div class="head_name"><a href="{$head_link}"><span>{$head_name}</span></a></div></td>
<td class="head_bar_td_w55 t_r"><a href="index.php?moduleid={$moduleid}&amp;action=category"><img src="image/sort.png" width="40" height="40" alt="行业分类"/></a></td>
</tr>
</table>
</div>
<div class="head_bar_fix"></div>
<div class="main">
{if $itemid}
	<div class="title"><strong>{$title}</strong></div>
	<div class="info">日期:<small>{$editdate}</small>&nbsp;&nbsp;点击:<small>{$hits}</small></div>
	{if $thumb}{template 'chip-album', $TP}{/if}
	<div class="content">
	{if !$username}<span style="color:red;">非会员信息</span><br/>{/if}
	{if $vip}{VIP}:{$vip}级<br/>{/if}
	{if $n1 && $v1}{$n1}:{$v1}<br/>{/if}
	{if $n2 && $v2}{$n2}:{$v2}<br/>{/if}
	{if $n3 && $v3}{$n3}:{$v3}<br/>{/if}
	{if $amount}数量:{$amount}<br/>{/if}
	{if $price}价格:{$price}<br/>{/if}
	{if $pack}包装:{$pack}<br/>{/if}
	{$content}
	</div>
	<div class="box_head"><strong>联系方式</strong></div>
	<div class="contact">{template 'chip-contact', $TP}</div>
{else}
	{loop $lists $v}
	<div class="listimg">
	<a href="index.php?moduleid={$moduleid}&amp;itemid={$v[itemid]}"><img src="{if $v[thumb]}{$v[thumb]}{else}image/nopic.png{/if}" width="55" height="55" alt=""/></a>
	<ul>
	<li><a href="index.php?moduleid={$moduleid}&amp;itemid={$v[itemid]}"><strong>{$v[title]}</strong></a></li>
	<li><em>{$v[date]}</em></li>
	<li{if $v[vip]} class="vip" title="{VIP}:{$v[vip]}"{/if}><a href="index.php?moduleid=4&amp;username={$v[username]}"><span>{$v[company]}</span></a></li>
	</ul>
	</div>
	{/loop}
{/if}
	{if $pages}<div class="pages">{$pages}</div>{/if}
	{template 'chip-search', $TP}
</div>
{template 'footer', $TP}